package com.fzg.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author fzg
 * @since 2022-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DiaryCommentDianzan implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 日记的评论—用户aid
     */
    private Integer aid;

    /**
     * 给这条评论点赞的用户aid
     */
    private Integer userAid;

    /**
     * 被点赞的评论aid
     */
    private Integer diaryCommentAid;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
